package com.lexue.dao;

import java.util.List;

import com.lexue.domain.SysUser;

public interface IUser {

	public abstract void test();
	
	public abstract void save(SysUser transientInstance);

	public abstract void delete(SysUser persistentInstance);

	public abstract SysUser findById(java.lang.Integer id);

	public abstract List findByExample(SysUser instance);

	public abstract List findByProperty(String propertyName, Object value);
	
	public abstract List findByUserAccount(Object userAccount);

	public abstract SysUser findByUser_Account(Object userAccount);
	
	public abstract List findByUserPassword(Object userPassword);

	public abstract List findByUserLevel(Object userLevel);

	public abstract List findByUserEmail(Object userEmail);

	public abstract List findByIsTeacher(Object isTeacher);

	public abstract List findByState(Object state);

	public abstract List findAll();
	
	public abstract boolean findByUserAccountAndPassword(Object userAccount,Object userPassword);

	public abstract SysUser merge(SysUser detachedInstance);

	public abstract void attachDirty(SysUser instance);

	public abstract void attachClean(SysUser instance);
	
}